home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / DOCS / ST_GUIDE.PR / MESSAGES.TXT < prev    next >
Encoding:
Text File  |  1986-04-23  |  1.9 KB  |  68 lines

  1. DESKTOP /x1k1a1!â•‘Message Buffer and Events
  2.  
  3. a0-0Message Buffer:
  4.  
  5. !$00      MB(0)= message number
  6. $02      MB(1)= application handle
  7. $04      MB(2)= lenght of the extra buffer
  8. $06-$0F  MB(3)-MB(7)= parameters
  9. $10-$..  Extra buffer
  10.  
  11. !:Events:
  12.  
  13. !MENU_SELECTED !MB(0)= 10
  14. !              !MB(3)= selected title
  15. !              !MB(4)= selected object
  16.  
  17. !WIND_REDRAW   !MB(0)= 20
  18. !              !MB(3)= window handle
  19. !              !MB(4)= X of area
  20. !              !MB(5)= Y of area
  21. !              !MB(6)= W of area
  22. !              !MB(7)= H of area
  23.  
  24. !WIND_TOPPED   !MB(0)= 21
  25. !              !MB(3)= window handle
  26.  
  27. !WIND_CLOSED   !MB(0)= 22
  28. !              !MB(3)= window handle
  29.  
  30. !WIND_FULLED   !MB(0)= 23
  31. !              !MB(3)= window handle
  32.  
  33. !WIND_ARROWED  !MB(0)= 24
  34. !              !MB(3)= window handle
  35. !              !MB(4)= 0:page up    1:page down   2:line up    3:line down
  36. !              !       4:page left  5:page right  6:col.left  7:col.right
  37.  
  38. !WIND_HSLID    !MB(0)= 25
  39. !              !MB(3)= window handle
  40. !              !MB(4)= position (0-1000 , Origin Left)
  41.  
  42. !WIND_VSLID    !MB(0)= 26
  43. !              !MB(3)= window handle
  44. !              !MB(4)= position (0-1000 , Origin Up)
  45.  
  46. !WIND_SIZED    !MB(0)= 27
  47. !              !MB(3)= window handle
  48. !              !MB(4)= X
  49. !              !MB(5)= Y
  50. !              !MB(6)= W
  51. !              !MB(7)= H
  52.  
  53. !WIND_MOVED    !MB(0)= 28
  54. !              !MB(3)= window handle
  55. !              !MB(4)= X
  56. !              !MB(5)= Y
  57. !              !MB(6)= W
  58. !              !MB(7)= H
  59.  
  60. !WIND_NEWTOP   !MB(0)= 29
  61. !              !MB(3)= window handle
  62.  
  63. !ACCS_OPEN     !MB(0)= 40
  64. !              !MB(4)= accessory number
  65.  
  66. !ACCS_CLOSE    !MB(0)= 41
  67. !              !MB(4)= accessory number
  68.